package com.lzx.spring3.aop.cglib;

import java.lang.reflect.InvocationTargetException;

import org.aopalliance.intercept.Joinpoint;
import org.apache.commons.beanutils.BeanUtils;
import org.aspectj.lang.Signature;
import org.aspectj.lang.reflect.MethodSignature;

import com.lzx.spring3.meta.User;

public class Main2 {

	public static void main(String[] args) throws IllegalAccessException,
			InstantiationException, InvocationTargetException,
			NoSuchMethodException {
		User user = new User();
		User user2 = (User) BeanUtils.cloneBean(user);
		System.out.println(user);
		System.out.println(user2);
		
		user.setName("lzx");		
		System.out.println(user);
		System.out.println(user2);
		
		
		user.getList().add("1");	
		System.out.println(user);
		System.out.println(user2);
		
		
		Joinpoint joinpoint;
		
		Signature signature;
		
		MethodSignature methodSignature;
	}
}
